home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19960715-19961006 / 000100_news@columbia.edu _Tue Jul 30 10:45:25 1996.msg < prev    next >
Internet Message Format  |  1996-11-03  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id KAA11865 for <kermit.misc@watsun.cc.columbia.edu>; Tue, 30 Jul 1996 10:45:24 -0400 (EDT)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id KAA25340 for kermit.misc@watsun; Tue, 30 Jul 1996 10:45:22 -0400 (EDT)
  4. Path: news.columbia.edu!news.new-york.net!news.wctc.net!chi-news.cic.net!cs.utexas.edu!howland.reston.ans.net!nntp.coast.net!news.dacom.co.kr!usenet.seri.re.kr!news.kreonet.re.kr!usenet
  5. From: jhpark@entropy.kaist.ac.kr (Park Jae-hyon)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Problems of Korean letters in MSK314 & 315beta
  8. Date: 30 Jul 1996 19:57:08 +0900
  9. Organization: KAIST
  10. Lines: 77
  11. Message-ID: <klrapu57qz.fsf@entropy.kaist.ac.kr>
  12. NNTP-Posting-Host: entropy.kaist.ac.kr
  13. X-Newsreader: Gnus v5.1
  14.  
  15. Hi.
  16.  
  17. In our computing room, a DOS machine is connected to
  18. a Linux one through a null-modem cable.
  19. MS-Kermit is running on the DOS machine and almost
  20. everything goes fine.
  21.  
  22. The problem is when I type in Korean letters on the
  23. DOS machine.
  24. As you may know, one Korean letter is
  25. represented by a pair of bytes >= 0x80.
  26. Bytes < 0x80 are used for ordinary ASCII characters.
  27.  
  28. I have set my MS-Kermit like this:
  29.  
  30.     set terminal bytesize 8
  31.     set terminal character-set transparent
  32.  
  33. Some letters (i.e. some pairs of bytes)
  34. are always entered correctly.
  35. Some are entered correctly when followed by
  36. a Korean letter or an alphabet but truncated
  37. when followed by LF, space, TAB, +, etc.
  38. (2nd byte of the pair is discarded).
  39. For instance, when I run `od', a dump program
  40. in the Linux box, and type a letter of codes,
  41. 0xb1 0xa1, four times, and type Enter, ^D,
  42. the result is:
  43.  
  44.     $ od -tx1
  45.     ∩┐╜∩┐╜∩┐╜∩┐╜∩┐╜∩┐╜∩┐╜∩┐╜               <- This is what I typed
  46.     0000000 b0 a1 b0 a1 b0 a1 b0 a1 0a
  47.     0000011
  48.     $
  49.  
  50. This letter, 0xb1 0xa1, is `a letter of good behavior.'
  51. But, for 0xc0 0xe5:
  52.  
  53.     $ od -tx1
  54.     ∩┐╜∩┐╜∩┐╜∩┐╜∩┐╜∩┐╜∩┐╜∩┐╜               <- This is what I typed
  55.     0000000 c0 e5 c0 e5 c0 e5 c0 0a
  56.     0000010
  57.     $
  58.  
  59. The byte immediately before 0x0a is missing.
  60. There must be a 0xe5 before 0x0a!
  61. Not only before linefeed code the second byte disappears
  62. but also before∩┐╜characters like a space or `+' or ESC and
  63. the like.
  64.  
  65. Some more examples:
  66.  
  67.     $ od -tx1
  68.     abcd∩┐╜σ░í∩┐╜σ░í+
  69.     0000000 61 62 63 64 c0 e5 b0 a1 c0 e5 b0 a1 2b 0a
  70.     0000016
  71.  
  72.     $ od -tx1
  73.     abcd∩┐╜∩┐╜∩┐╜σ░í∩┐╜∩┐╜+
  74.     0000000 61 62 63 64 b0 a1 c0 e5 b0 a1 c0 2b 0a
  75.     0000015
  76.  
  77.     $ od -tx1
  78.     ∩┐╜σ░í∩┐╜σ░íefgh
  79.     0000000 c0 e5 b0 a1 c0 e5 b0 a1 65 66 67 68 0a
  80.     0000015
  81.  
  82.     $ od -tx1
  83.     ∩┐╜∩┐╜∩┐╜σ░í∩┐╜∩┐╜efgh
  84.     0000000 b0 a1 c0 e5 b0 a1 c0 e5 65 66 67 68 0a
  85.     0000015
  86.  
  87. With MS-Kermit 3.13, this problem was absent.
  88. -- 
  89. Park, Jae-hyon
  90. Dept. of Physics, KAIST
  91. jhpark@entropy.kaist.ac.kr